精选文章
>> SQL之家
>> 如何操作大容量的字符串,特别是在SQL下? [查看别人的评论]
由 amtd 发布于: 2001-02-13 18:40
如何操作大容量的字符串
dim dataconn
Set DataConn = Server.CreateObject("ADODB.Connection")
dataconn.open "yourDSN","yourName","yourPass"
Set cmdTemp = Server.CreateObject("ADODB.Command")
Set InsertCursor = Server.CreateObject("ADODB.Recordset")
cmdTemp.CommandText = _
"SELECT *, UserName FROM yourField WHERE (UserName IS NULL)"
cmdTemp.CommandType = 1
Set cmdTemp.ActiveConnection = DataConn
InsertCursor.Open cmdTemp, , 1, 3
InsertCursor.AddNew
InsertCursor("yourMemo") =strMemo
InsertCursor.Update
InsertCursor.close
dataConn.close
__________________
真实源于生活!
请访问我们的网站:
(VB爱好者乐园)
http://www.vbgood.com
http://www.d1vb.com
http://61.128.97.225/vbgood/index.asp
拥有1800多个资料!
|